import QtQuick 2.0
import "../lib/theme.js" as AppTheme

QtObject {
    id: settings

    property int typeID: 0
    property int iterations: AppTheme.startIterations
    property int gradientID: 0
    property bool showInfo: true
    property double centerOffsetX: AppTheme.startCoX // 0.7989440396442848
    property double centerOffsetY: AppTheme.startCoY // 0.17291257580314928
    property double zoom: AppTheme.maxZoom // 0.000178374
    property bool useEmulDouble: (zoom <= AppTheme.dpZoomCutoff)

    /*
     * Reset parameters to default position
     */
    function defaultPosition() {
        centerOffsetX = AppTheme.startCoX;
        centerOffsetY = AppTheme.startCoY;
        zoom = AppTheme.maxZoom;
    }
}
